package com.tron.dobest.java.trondesign.adapter;

public class AdapterStart {
    public static void main(String[] args) {
        WildTurkey wildTurkey = new WildTurkey();
        TurkeyAdapter turkeyAdapter = new TurkeyAdapter(wildTurkey);
        run(turkeyAdapter);
    }

    static void run(Duck duck) {
        duck.quack();
        duck.fly();
    }
}
